package com.hankai.service;

import com.hankai.common.ServerResponse;
import com.hankai.pojo.Product;

/**
 * Created by hankai on 2017/6/7.
 */
public interface IProductService {

    ServerResponse saveOrUpdateProduct(Product product);

    ServerResponse updateState(Integer productId, Integer status);

    ServerResponse manageProductDetail(Integer productId);

    ServerResponse getProductList(Integer pageNum, Integer pageSize);

    ServerResponse searchProductList(String productName, Integer productId, Integer pageNum, Integer pageSize);
}
